package org.jeecg.modules.wlhy.complaint.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.lang.annotation.Documented;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 投诉表
 * @Author: jeecg-boot
 * @Date:   2020-12-16
 * @Version: V1.0
 */
@Data
@TableName("hy_complaint")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hy_complaint对象", description="投诉表")
public class HyComplaint implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
	/**投诉单号*/
	@Excel(name = "投诉单号", width = 15)
    @Dict(dictTable = "hy_complaint", dicText = "complaint_number", dicCode = "complaint_number")
    @ApiModelProperty(value = "投诉单号")
    private java.lang.String complaintNumber;
    /**被投诉对象(1司机2货主3平台)*/
    @Excel(name = "被投诉对象", width = 15, dicCode = "complaint_at")
    @Dict(dicCode = "complaint_at")
    @ApiModelProperty(value = "被投诉对象(1司机2货主3平台)")
    private java.lang.String complaintAt;
	/**关联运单id*/
	@Excel(name = "关联运单id", width = 15, dictTable = "hy_shipping_note", dicText = "shipping_note_number", dicCode = "id")
	@Dict(dictTable = "hy_shipping_note", dicText = "shipping_note_number", dicCode = "id")
    @ApiModelProperty(value = "关联运单id")
    private java.lang.String shippingNoteId;
    /**关联货源id*/
    @Excel(name = "关联货源id", width = 15, dictTable = "hy_order", dicText = "order_num", dicCode = "id")
    @Dict(dictTable = "hy_order", dicText = "order_num", dicCode = "id")
    @ApiModelProperty(value = "关联货源id")
    private java.lang.String orderId;
	/**投诉类型*/
	@Excel(name = "投诉类型", width = 15, dicCode = "complaint_type")
    @Dict(dicCode = "complaint_type")
    @ApiModelProperty(value = "投诉类型")
    private java.lang.String complaintType;
	/**被投诉人*/
	@Excel(name = "被投诉人", width = 15)
    @ApiModelProperty(value = "被投诉人")
    private java.lang.String respondent;
    /**被投诉人名称*/
    @Excel(name = "被投诉人名称", width = 15)
    @ApiModelProperty(value = "被投诉人名称")
    private java.lang.String respondentName;

	/**投诉状态(0待审核1被驳回2待举证3处理中4已完结)*/
	@Excel(name = "投诉状态", width = 15)
    @Dict(dicCode = "complaint_status")
    @ApiModelProperty(value = "投诉状态")
    private java.lang.String complaintStatus;

    /**投诉人描述*/
    @Excel(name = "投诉人描述", width = 15)
    @ApiModelProperty(value = "投诉人描述")
    private java.lang.String complainantDesc;
    /**投诉人凭证*/
    @Excel(name = "投诉人凭证", width = 15)
    @ApiModelProperty(value = "投诉人凭证")
    private java.lang.String complainantProofImg;
    /**投诉人举证时间*/
    @Excel(name = "投诉人举证时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "投诉人举证时间")
    private java.util.Date complainantProofTime;
    /**被投诉人描述*/
    @Excel(name = "被投诉人描述", width = 15)
    @ApiModelProperty(value = "被投诉人描述")
    private java.lang.String respondentDesc;
    /**被投诉人凭证*/
    @Excel(name = "被投诉人凭证", width = 15)
    @ApiModelProperty(value = "被投诉人凭证")
    private java.lang.String respondentProofImg;
    /**被投诉人举证时间*/
    @Excel(name = "被投诉人举证时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "被投诉人举证时间")
    private java.util.Date respondentProofTime;

	/**责任归属*/
	@Excel(name = "责任归属", width = 15)
    @Dict(dicCode = "complaint_at")
    @ApiModelProperty(value = "责任归属(1司机2货主3平台)")
    private java.lang.String responsibilityBelong;
	/**责任人*/
	@Excel(name = "责任人", width = 15)
    @ApiModelProperty(value = "责任人")
    private java.lang.String responsiblePerson;
    /**是否处罚(0否1是)*/
    @Excel(name = "是否处罚(0否1是)", width = 15, dicCode = "is_penalize")
    @Dict(dicCode = "is_penalize")
    @ApiModelProperty(value = "是否处罚(0否1是)")
    private java.lang.String isPenalize;
    /**处罚金额*/
    @Excel(name = "处罚金额", width = 15)
    @ApiModelProperty(value = "处罚金额")
    private java.lang.Double penalizeMoney;
    /**处罚承担人(1司机2货主3平台)*/
    @Excel(name = "处罚承担人", width = 15)
    @ApiModelProperty(value = "处罚承担人")
    private java.lang.String underwriter;
	/**承担金额*/
	@Excel(name = "承担金额", width = 15)
    @ApiModelProperty(value = "承担金额")
    private java.lang.String assumeMoney;
	/**备注说明*/
	@Excel(name = "备注说明", width = 15)
    @ApiModelProperty(value = "备注说明")
    private java.lang.String note;

    /**投诉人满意度(0未评价1非常不满意2比较不满意3勉强满意4比较满意5非常满意)*/
    @Excel(name = "投诉人满意度(0未评价1非常不满意2比较不满意3勉强满意4比较满意5非常满意)", width = 15)
    @Dict(dicCode = "evaluation_value")
    @ApiModelProperty(value = "投诉人满意度(0未评价1非常不满意2比较不满意3勉强满意4比较满意5非常满意)")
    private java.lang.String evaluationValue;
    /**投诉人评价时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "投诉人评价时间")
    private java.util.Date evaluateTime;

	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;

    /**投诉人类型(sys_user表内uType)*/
    @Excel(name = "投诉人类型", width = 15)
    @ApiModelProperty(value = "投诉人类型")
    private java.lang.String complainantType;
    /**投诉人*/
    @Excel(name = "投诉人", width = 15)
    @ApiModelProperty(value = "投诉人")
    private java.lang.String complainant;
    /**投诉人名称*/
    @Excel(name = "投诉人名称", width = 15)
    @ApiModelProperty(value = "投诉人名称")
    private java.lang.String complainantName;
	/**投诉时间*/
    @Excel(name = "投诉时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "投诉时间")
    private java.util.Date createTime;


	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updateTime;
    /**完结时间*/
    @Excel(name = "完结时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "完结时间")
    private java.util.Date finishTime;
    /**审核时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "审核时间")
    private java.util.Date checkTime;
    /**处理时间*/
    @Excel(name = "处理时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "处理时间")
    private java.util.Date handleTime;
    /**驳回理由*/
    @Excel(name = "驳回理由", width = 15)
    @ApiModelProperty(value = "驳回理由")
    private java.lang.String rejectReason;

}
